let $throttle=(function (){
    var t=null
    return function (callback,delay=300){
        if(t!==null){
            return;
        }
        t=setTimeout(()=>{
            t=null
            callback()
        },delay)
    }
})()
export default $throttle